<?php

$range=$_GET['range'];
$pitch=$_GET['pitch'];
$speed=$_GET['speed'];

$anger=$_GET['anger'];
$sadness=$_GET['sadness'];
$joy=$_GET['joy'];

$get_info='range:' . $range . ' ' . 'pitch:'  . $pitch .  ' ' . 'range:' . $speed . ' ' . 'anger:' . $anger . ' ' . 'sadness:' . $sadness . ' ' . 'joy:' . $joy . ' ' . '\n';

$str = $_SERVER["QUERY_STRING"];
$myfile = fopen("out.txt", "a+") or die("Unable to open file!");
fwrite($myfile,$str);
fwrite($myfile, "\n");
fclose($myfile);

$back="callback({\"url\":\"\/\/www.masaikk.xyz\/demo\/tmp\/553_20201113124446716972419.ogg\"})";

echo $back

?>